package cn.xz.zgsg.adapter

import cn.xz.zgsg.R
import cn.xz.zgsg.bean.AreaList
import cn.xz.zgsg.bean.U3dListBean
import cn.xz.zgsg.util.GetListUtils
import cn.xz.zgsg.widgets.XZTextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * 设备列表分类适配器*/
class SJSAdapter: BaseQuickAdapter<GetListUtils.TestData, BaseViewHolder>(R.layout.item_sjs_t), LoadMoreModule {

    override fun convert(holder: BaseViewHolder, item: GetListUtils.TestData) {
        val tvLightTxt = holder.getView<XZTextView>(R.id.tv_area_item)
        tvLightTxt.text = item.Name.toString()
    }
}